<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('请选择时间段')}:</label>
        <div class="col-xs-12 col-sm-8">
            {:build_radios('type', $typeData, $type, ['class'=>'form-control selectpicker', 'data-rule'=>'required'])}
        </div>
    </div>

    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="button" class="btn btn-success btn-embossed btn-save">保存</button>
            <button type="button" class="btn btn-success btn-embossed btn-preview">预览</button>
        </div>
    </div>
</form>
